package task13;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/13 9:27
 * @description:子类：重写父类的抽象方法
 */
public class HPrinter extends Printer {
  @Override
  public void open() {
    System.out.println("HP打开");
  }
  @Override
  public void print() {
    System.out.println("HP打印");
  }
  @Override
  public void close() {
    System.out.println("HP关闭");
  }
 public void clean(){
    System.out.println("Canon clean");
  }
}
